package com.jye.rseven.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PtGoods implements Serializable {
    int id;
    String ptGoodsName;
    double price;
    double ptPrice;
    int ptNum;
    int ptValidHours;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date endTime;
    int ptGoodsNum;
    String description;
    String content;
    String ptGoodsThnmb;
    String ptGoodsImgs;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date addTime;
    Date upTime;
    int isSale;
    int ptTimes;
}
